namespace Reflection;

public interface IService { }

public class SimpleService : IService { }

public class ComplexService : IService { }

public class ServiceFactory {
    public static IService Produce() => new ComplexService();
}